package com.demo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.sql.Timestamp;
import java.util.Date;

/**
 * Created by lmn on 2018/4/3.
 */
public class TypicalModel {
    private String name;
    @JsonIgnore
    private String names;
    private Integer age;
    private Date startDate;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Timestamp validateTime;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNames() {
        return names;
    }

    public void setNames(String names) {
        this.names = names;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Timestamp getValidateTime() {
        return validateTime;
    }

    public void setValidateTime(Timestamp validateTime) {
        this.validateTime = validateTime;
    }
}
